package com.ch999.detect.View;

import android.app.Dialog;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.Window;

import com.ch999.detect.R;


/**
 * Created by Administrator on 2016/12/13 0013.
 */

public class SelectStartDialog extends Dialog {

    public Context mContent;

    public SelectStartDialog(Context context) {
        super(context);
        this.mContent= context;
    }

    public SelectStartDialog(Context context, int themeResId) {
        super(context, themeResId);
        this.mContent= context;
    }

    protected SelectStartDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        this.mContent= context;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setWindowAnimations(R.style.default_dialog_style);
        getWindow().setBackgroundDrawable(new ColorDrawable(0));
    }
}
